package com.yydream.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 用户表;
 * @author : yydream
 * @date : 2024-6-17
 */
@ApiModel(value = "用户表",description = "")
@TableName("sys_user")
@Data
public class SysUserEntity extends TenantBaseEntity{
    /** 用户id */
    @ApiModelProperty(name = "用户id",notes = "")
    @TableId
    private Long id ;
    /** 用户名称 */
    @ApiModelProperty(name = "用户名称",notes = "")
    private String username ;
    /** 用户密码 */
    @ApiModelProperty(name = "用户密码",notes = "")
    private String password ;
    /** 电话 */
    @ApiModelProperty(name = "电话",notes = "")
    private String phone ;
    /** 性别;（1：男，2：女） */
    @ApiModelProperty(name = "性别",notes = "（1：男，2：女）")
    private Integer sex ;
    /** 状态;（1：启用，2：禁用） */
    @ApiModelProperty(name = "状态",notes = "（1：启用，2：禁用）")
    private Integer state ;
    @ApiModelProperty(name = "头像",notes = "")
    private String avatar ;
    @ApiModelProperty(name = "昵称",notes = "")
    private String nickname ;

}